package cate.game.train.awakenfairy.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBTrain;
import cate.game.role.bag.awakenfairy.AwakenFairy;
import easy.java.dev.note.NoteField;

@ClientMsg(title = "英雄穿觉醒灵器 の 返回")
public class AwakenFairyOnResp implements MsgOutput {

    @NoteField(value = "英雄ID", detail = "要给哪一个英雄穿灵器")
    public String heroUid;

    @NoteField(value = "位置")
    public byte pos;

    @NoteField(value = "穿上的觉醒灵器")
    public AwakenFairy awakenFairy;

    public AwakenFairyOnResp(){

    }

    public AwakenFairyOnResp(String heroUid, byte pos, AwakenFairy awakenFairy){
        this.heroUid = heroUid;
        this.pos = pos;
        this.awakenFairy = awakenFairy;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBTrain.AWAKEN_FAIRY_ON_RESP;
    }
}
